#!/bin/bash

# 1: running
# 0: stopped

if [ -d "${LRS_PATH}" ]; then
    lrs_ping_path="${LRS_PATH}/bin/status.sh"
    count=`${lrs_ping_path} | grep -c started`
    if [ $count -ne "0" ]; then
        echo "1"; exit 0
    else
        echo "0"; exit 0
    fi
fi

